package com.example.service.impl;

import org.springframework.stereotype.Service;
import javax.annotation.Resource;
import com.example.mapper.ColumnsMapper;
import com.example.domain.Columns;
import com.example.service.ColumnsService;

import java.util.List;

@Service
public class ColumnsServiceImpl implements ColumnsService{

    @Resource
    private ColumnsMapper columnsMapper;


    @Override
    public int insert(Columns record) {
        return columnsMapper.insert(record);
    }

    @Override
    public int insertSelective(Columns record) {
        return columnsMapper.insertSelective(record);
    }

    @Override
    public List<Columns> selectBySchema(String schema, String fileName) {
        return columnsMapper.selectBySchema(schema, fileName);
    }

}
